# coding=utf-8

class Page(object):
    """
    This is a base page class for Page Object.
    """

    def __init__(self, selenium_driver):
        self.dr = selenium_driver

    def login(self):
        self.dr.open('http://192.168.2.208/console/login')
        self.dr.send_key('id->username', '888')
        self.dr.send_key('id->password', 'Aa123456')
        self.dr.send_key('id->captcha', 'ABDS')
        self.dr.click('css->.ant-btn')
